import {DotLoading} from "antd-mobile";

const Loading = () => {
    return (
        <div
            style={{background: 'rgba(0,0,0,.2)', width: '100vw', height: '100vh', position: 'fixed', left: 0, top: 0}}>
            <div style={{position: "absolute", left: "50%", top: "50%", transform: "translate(-50%,-50%)",fontSize:"24px"}}>
                <DotLoading color='primary'/><span style={{color: '#1677ff',fontSize:"12px"}}>加载中……</span>
            </div>
        </div>
    )
}

export default Loading;